net/http.http2stream.body (field)
12 uses
net/http (current package)
h2_bundle.go#L4732: body *http2pipe // non-nil if expecting DATA frames
h2_bundle.go#L5818: if p := st.body; p != nil {
h2_bundle.go#L5960: if st.body == nil {
h2_bundle.go#L5971: st.body.CloseWithError(fmt.Errorf("sender tried to send more than declared Content-Length of %d bytes", st.declBodyBytes))
h2_bundle.go#L5985: wrote, err := st.body.Write(data)
h2_bundle.go#L6039: st.body.CloseWithError(fmt.Errorf("request declared a Content-Length of %d but only wrote %d bytes",
h2_bundle.go#L6042: st.body.closeWithErrorAndCode(io.EOF, st.copyTrailersToHandlerRequest)
h2_bundle.go#L6043: st.body.CloseWithError(io.EOF)
h2_bundle.go#L6062: if st.body != nil {
h2_bundle.go#L6065: st.body.CloseWithError(fmt.Errorf("%w", os.ErrDeadlineExceeded))
h2_bundle.go#L6164: st.body = st.reqBody.pipe // may be nil
h2_bundle.go#L6441: body: st.body,
![]() |
The pages are generated with Golds v0.8.5. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |